package com.tobestronger.shouxiespringframework.jdbc.datasource;

import java.sql.Connection;

/**
 * @author 小傅哥，微信：fustack
 * @description Simple interface to be implemented by handles for a JDBC Connection.
 * @date 2022/3/16
 * @github https://github.com/fuzhengwei/CodeDesignTutorials
 * @Copyright 公众号：bugstack虫洞栈 | 博客：https://bugstack.cn - 沉淀、分享、成长，让自己和他人都能有所收获！
 */
public interface ConnectionHandle {

    Connection getConnection();

    default void releaseConnection(Connection con) {

    }

}
